Optimal. Leaf size=282 \[ \frac {245 x^2}{1152 a^4}+\frac {65 x^4}{3456 a^2}+\frac {x^6}{324}+\frac {245 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{576 a^5}+\frac {65 x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{864 a^3}+\frac {x^5 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{54 a}+\frac {245 \text {ArcCos}(a x)^2}{1152 a^6}-\frac {5 x^2 \text {ArcCos}(a x)^2}{16 a^4}-\frac {5 x^4 \text {ArcCos}(a x)^2}{48 a^2}-\frac {1}{18} x^6 \text {ArcCos}(a x)^2-\frac {5 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{24 a^5}-\frac {5 x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{36 a^3}-\frac {x^5 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{9 a}-\frac {5 \text {ArcCos}(a x)^4}{96 a^6}+\frac {1}{6} x^6 \text {ArcCos}(a x)^4 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.57, antiderivative size = 282, normalized size of antiderivative = 1.00, number of steps
used = 23, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4724, 4796,
4738, 30} \begin {gather*} -\frac {5 \text {ArcCos}(a x)^4}{96 a^6}+\frac {245 \text {ArcCos}(a x)^2}{1152 a^6}-\frac {5 x^2 \text {ArcCos}(a x)^2}{16 a^4}+\frac {245 x^2}{1152 a^4}-\frac {5 x^4 \text {ArcCos}(a x)^2}{48 a^2}-\frac {x^5 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{9 a}+\frac {x^5 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{54 a}+\frac {65 x^4}{3456 a^2}-\frac {5 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{24 a^5}+\frac {245 x \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{576 a^5}-\frac {5 x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)^3}{36 a^3}+\frac {65 x^3 \sqrt {1-a^2 x^2} \text {ArcCos}(a x)}{864 a^3}+\frac {1}{6} x^6 \text {ArcCos}(a x)^4-\frac {1}{18} x^6 \text {ArcCos}(a x)^2+\frac {x^6}{324} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 4724
Rule 4738
Rule 4796
Rubi steps
\begin {align*} \int x^5 \cos ^{-1}(a x)^4 \, dx &=\frac {1}{6} x^6 \cos ^{-1}(a x)^4+\frac {1}{3} (2 a) \int \frac {x^6 \cos ^{-1}(a x)^3}{\sqrt {1-a^2 x^2}} \, dx\\ &=-\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{9 a}+\frac {1}{6} x^6 \cos ^{-1}(a x)^4-\frac {1}{3} \int x^5 \cos ^{-1}(a x)^2 \, dx+\frac {5 \int \frac {x^4 \cos ^{-1}(a x)^3}{\sqrt {1-a^2 x^2}} \, dx}{9 a}\\ &=-\frac {1}{18} x^6 \cos ^{-1}(a x)^2-\frac {5 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{36 a^3}-\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{9 a}+\frac {1}{6} x^6 \cos ^{-1}(a x)^4+\frac {5 \int \frac {x^2 \cos ^{-1}(a x)^3}{\sqrt {1-a^2 x^2}} \, dx}{12 a^3}-\frac {5 \int x^3 \cos ^{-1}(a x)^2 \, dx}{12 a^2}-\frac {1}{9} a \int \frac {x^6 \cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx\\ &=\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{54 a}-\frac {5 x^4 \cos ^{-1}(a x)^2}{48 a^2}-\frac {1}{18} x^6 \cos ^{-1}(a x)^2-\frac {5 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{24 a^5}-\frac {5 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{36 a^3}-\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{9 a}+\frac {1}{6} x^6 \cos ^{-1}(a x)^4+\frac {\int x^5 \, dx}{54}+\frac {5 \int \frac {\cos ^{-1}(a x)^3}{\sqrt {1-a^2 x^2}} \, dx}{24 a^5}-\frac {5 \int x \cos ^{-1}(a x)^2 \, dx}{8 a^4}-\frac {5 \int \frac {x^4 \cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{54 a}-\frac {5 \int \frac {x^4 \cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{24 a}\\ &=\frac {x^6}{324}+\frac {65 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{864 a^3}+\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{54 a}-\frac {5 x^2 \cos ^{-1}(a x)^2}{16 a^4}-\frac {5 x^4 \cos ^{-1}(a x)^2}{48 a^2}-\frac {1}{18} x^6 \cos ^{-1}(a x)^2-\frac {5 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{24 a^5}-\frac {5 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{36 a^3}-\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{9 a}-\frac {5 \cos ^{-1}(a x)^4}{96 a^6}+\frac {1}{6} x^6 \cos ^{-1}(a x)^4-\frac {5 \int \frac {x^2 \cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{72 a^3}-\frac {5 \int \frac {x^2 \cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{32 a^3}-\frac {5 \int \frac {x^2 \cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{8 a^3}+\frac {5 \int x^3 \, dx}{216 a^2}+\frac {5 \int x^3 \, dx}{96 a^2}\\ &=\frac {65 x^4}{3456 a^2}+\frac {x^6}{324}+\frac {245 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{576 a^5}+\frac {65 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{864 a^3}+\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{54 a}-\frac {5 x^2 \cos ^{-1}(a x)^2}{16 a^4}-\frac {5 x^4 \cos ^{-1}(a x)^2}{48 a^2}-\frac {1}{18} x^6 \cos ^{-1}(a x)^2-\frac {5 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{24 a^5}-\frac {5 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{36 a^3}-\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{9 a}-\frac {5 \cos ^{-1}(a x)^4}{96 a^6}+\frac {1}{6} x^6 \cos ^{-1}(a x)^4-\frac {5 \int \frac {\cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{144 a^5}-\frac {5 \int \frac {\cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{64 a^5}-\frac {5 \int \frac {\cos ^{-1}(a x)}{\sqrt {1-a^2 x^2}} \, dx}{16 a^5}+\frac {5 \int x \, dx}{144 a^4}+\frac {5 \int x \, dx}{64 a^4}+\frac {5 \int x \, dx}{16 a^4}\\ &=\frac {245 x^2}{1152 a^4}+\frac {65 x^4}{3456 a^2}+\frac {x^6}{324}+\frac {245 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{576 a^5}+\frac {65 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{864 a^3}+\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)}{54 a}+\frac {245 \cos ^{-1}(a x)^2}{1152 a^6}-\frac {5 x^2 \cos ^{-1}(a x)^2}{16 a^4}-\frac {5 x^4 \cos ^{-1}(a x)^2}{48 a^2}-\frac {1}{18} x^6 \cos ^{-1}(a x)^2-\frac {5 x \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{24 a^5}-\frac {5 x^3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{36 a^3}-\frac {x^5 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^3}{9 a}-\frac {5 \cos ^{-1}(a x)^4}{96 a^6}+\frac {1}{6} x^6 \cos ^{-1}(a x)^4\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 167, normalized size = 0.59 \begin {gather*} \frac {a^2 x^2 \left (2205+195 a^2 x^2+32 a^4 x^4\right )+6 a x \sqrt {1-a^2 x^2} \left (735+130 a^2 x^2+32 a^4 x^4\right ) \text {ArcCos}(a x)-9 \left (-245+360 a^2 x^2+120 a^4 x^4+64 a^6 x^6\right ) \text {ArcCos}(a x)^2-144 a x \sqrt {1-a^2 x^2} \left (15+10 a^2 x^2+8 a^4 x^4\right ) \text {ArcCos}(a x)^3+108 \left (-5+16 a^6 x^6\right ) \text {ArcCos}(a x)^4}{10368 a^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 332, normalized size = 1.18
method | result | size |
derivativedivides | \(\frac {\frac {a^{6} x^{6} \arccos \left (a x \right )^{4}}{6}-\frac {\arccos \left (a x \right )^{3} \left (8 \sqrt {-a^{2} x^{2}+1}\, a^{5} x^{5}+10 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+15 a x \sqrt {-a^{2} x^{2}+1}+15 \arccos \left (a x \right )\right )}{72}-\frac {\arccos \left (a x \right )^{2} a^{6} x^{6}}{18}+\frac {\arccos \left (a x \right ) \left (8 \sqrt {-a^{2} x^{2}+1}\, a^{5} x^{5}+10 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+15 a x \sqrt {-a^{2} x^{2}+1}+15 \arccos \left (a x \right )\right )}{432}-\frac {245 \arccos \left (a x \right )^{2}}{1152}+\frac {a^{6} x^{6}}{324}+\frac {5 a^{4} x^{4}}{864}+\frac {25 a^{2} x^{2}}{144}-\frac {5 a^{4} x^{4} \arccos \left (a x \right )^{2}}{48}+\frac {5 \arccos \left (a x \right ) \left (2 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+3 a x \sqrt {-a^{2} x^{2}+1}+3 \arccos \left (a x \right )\right )}{192}+\frac {5 \left (2 a^{2} x^{2}+3\right )^{2}}{1536}-\frac {5 a^{2} x^{2} \arccos \left (a x \right )^{2}}{16}+\frac {5 \arccos \left (a x \right ) \left (a x \sqrt {-a^{2} x^{2}+1}+\arccos \left (a x \right )\right )}{16}-\frac {5}{32}+\frac {5 \arccos \left (a x \right )^{4}}{32}}{a^{6}}\) | \(332\) |
default | \(\frac {\frac {a^{6} x^{6} \arccos \left (a x \right )^{4}}{6}-\frac {\arccos \left (a x \right )^{3} \left (8 \sqrt {-a^{2} x^{2}+1}\, a^{5} x^{5}+10 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+15 a x \sqrt {-a^{2} x^{2}+1}+15 \arccos \left (a x \right )\right )}{72}-\frac {\arccos \left (a x \right )^{2} a^{6} x^{6}}{18}+\frac {\arccos \left (a x \right ) \left (8 \sqrt {-a^{2} x^{2}+1}\, a^{5} x^{5}+10 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+15 a x \sqrt {-a^{2} x^{2}+1}+15 \arccos \left (a x \right )\right )}{432}-\frac {245 \arccos \left (a x \right )^{2}}{1152}+\frac {a^{6} x^{6}}{324}+\frac {5 a^{4} x^{4}}{864}+\frac {25 a^{2} x^{2}}{144}-\frac {5 a^{4} x^{4} \arccos \left (a x \right )^{2}}{48}+\frac {5 \arccos \left (a x \right ) \left (2 a^{3} x^{3} \sqrt {-a^{2} x^{2}+1}+3 a x \sqrt {-a^{2} x^{2}+1}+3 \arccos \left (a x \right )\right )}{192}+\frac {5 \left (2 a^{2} x^{2}+3\right )^{2}}{1536}-\frac {5 a^{2} x^{2} \arccos \left (a x \right )^{2}}{16}+\frac {5 \arccos \left (a x \right ) \left (a x \sqrt {-a^{2} x^{2}+1}+\arccos \left (a x \right )\right )}{16}-\frac {5}{32}+\frac {5 \arccos \left (a x \right )^{4}}{32}}{a^{6}}\) | \(332\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.48, size = 153, normalized size = 0.54 \begin {gather*} \frac {32 \, a^{6} x^{6} + 195 \, a^{4} x^{4} + 108 \, {\left (16 \, a^{6} x^{6} - 5\right )} \arccos \left (a x\right )^{4} + 2205 \, a^{2} x^{2} - 9 \, {\left (64 \, a^{6} x^{6} + 120 \, a^{4} x^{4} + 360 \, a^{2} x^{2} - 245\right )} \arccos \left (a x\right )^{2} - 6 \, \sqrt {-a^{2} x^{2} + 1} {\left (24 \, {\left (8 \, a^{5} x^{5} + 10 \, a^{3} x^{3} + 15 \, a x\right )} \arccos \left (a x\right )^{3} - {\left (32 \, a^{5} x^{5} + 130 \, a^{3} x^{3} + 735 \, a x\right )} \arccos \left (a x\right )\right )}}{10368 \, a^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.53, size = 275, normalized size = 0.98 \begin {gather*} \begin {cases} \frac {x^{6} \operatorname {acos}^{4}{\left (a x \right )}}{6} - \frac {x^{6} \operatorname {acos}^{2}{\left (a x \right )}}{18} + \frac {x^{6}}{324} - \frac {x^{5} \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}^{3}{\left (a x \right )}}{9 a} + \frac {x^{5} \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}{\left (a x \right )}}{54 a} - \frac {5 x^{4} \operatorname {acos}^{2}{\left (a x \right )}}{48 a^{2}} + \frac {65 x^{4}}{3456 a^{2}} - \frac {5 x^{3} \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}^{3}{\left (a x \right )}}{36 a^{3}} + \frac {65 x^{3} \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}{\left (a x \right )}}{864 a^{3}} - \frac {5 x^{2} \operatorname {acos}^{2}{\left (a x \right )}}{16 a^{4}} + \frac {245 x^{2}}{1152 a^{4}} - \frac {5 x \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}^{3}{\left (a x \right )}}{24 a^{5}} + \frac {245 x \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}{\left (a x \right )}}{576 a^{5}} - \frac {5 \operatorname {acos}^{4}{\left (a x \right )}}{96 a^{6}} + \frac {245 \operatorname {acos}^{2}{\left (a x \right )}}{1152 a^{6}} & \text {for}\: a \neq 0 \\\frac {\pi ^{4} x^{6}}{96} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 245, normalized size = 0.87 \begin {gather*} \frac {1}{6} \, x^{6} \arccos \left (a x\right )^{4} - \frac {1}{18} \, x^{6} \arccos \left (a x\right )^{2} - \frac {\sqrt {-a^{2} x^{2} + 1} x^{5} \arccos \left (a x\right )^{3}}{9 \, a} + \frac {1}{324} \, x^{6} + \frac {\sqrt {-a^{2} x^{2} + 1} x^{5} \arccos \left (a x\right )}{54 \, a} - \frac {5 \, x^{4} \arccos \left (a x\right )^{2}}{48 \, a^{2}} - \frac {5 \, \sqrt {-a^{2} x^{2} + 1} x^{3} \arccos \left (a x\right )^{3}}{36 \, a^{3}} + \frac {65 \, x^{4}}{3456 \, a^{2}} + \frac {65 \, \sqrt {-a^{2} x^{2} + 1} x^{3} \arccos \left (a x\right )}{864 \, a^{3}} - \frac {5 \, x^{2} \arccos \left (a x\right )^{2}}{16 \, a^{4}} - \frac {5 \, \sqrt {-a^{2} x^{2} + 1} x \arccos \left (a x\right )^{3}}{24 \, a^{5}} + \frac {245 \, x^{2}}{1152 \, a^{4}} - \frac {5 \, \arccos \left (a x\right )^{4}}{96 \, a^{6}} + \frac {245 \, \sqrt {-a^{2} x^{2} + 1} x \arccos \left (a x\right )}{576 \, a^{5}} + \frac {245 \, \arccos \left (a x\right )^{2}}{1152 \, a^{6}} - \frac {9485}{82944 \, a^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^5\,{\mathrm {acos}\left (a\,x\right )}^4 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________